<div style="float: right; height: 50px; width: 50px; margin-top: -8px; vertical-align: middle;">
	<pp:dynamic name="edit_album_no_thumb"><span style="padding-top: 20px; display: block; width: 100px; margin-left: -40px;">Noch kein Bild</span></pp:dynamic>
	<pp:dynamic name="edit_album_thumb"><img src="{@pp:abs_root}_core/getImage.php?path={@pp:img_path}&height=50&width=50" id="gallery_view_image_image"/></pp:dynamic>
</div>
<h1>Album bearbeiten</h1><br />
<div class="h_sep" id="admin_top_hr" style="margin: -5px 0px 5px 0px;">
	<span class="left">&nbsp;</span>
	<span class="right">&nbsp;</span>
	<span class="center">&nbsp;</span>
</div><br />
<div id="edit_album">
	<form action="{@pp:link}" method="post" class="ui_form">
		<br />
		{pp:UIWidgets(widget:Hidden, name:id, value:{@pp:id})}
		{pp:UIWidgets(widget:Hidden, name:action, value:edit_album)}
		<p>
			{pp:UIWidgets("widget":"InputField", "name":"name", "value":"{@pp:name}", "label":"Titel", "class":"small", "style":"width: 350px;")}
		</p>
		<p>
			{pp:UIWidgets("widget":"TextArea", "name":"desc", "value":"{@pp:desc}", "label":"Beschreibung", "height":"5", "class":"small", "style":"width: 350px;")}
		</p>
		<p>
			{@pp:status}
		</p>
		<br />
		<p>
			{pp:UIWidgets(widget:Button, type:submit, label:&nbsp;, value:&nbsp;&nbsp;&nbsp;Speichern&nbsp;&nbsp;&nbsp;)}
			{pp:UIWidgets(widget:Button, type:reset, value:&nbsp;&nbsp;&nbsp;Zur&uuml;cksetzten&nbsp;&nbsp;&nbsp;)}
			<pp:dynamic name="ajax_button">
				<span style="float: right; display: block;">{pp:UIWidgets(widget:Button, value:&nbsp;&nbsp;&nbsp;Abbrechen&nbsp;&nbsp;&nbsp;, id:ajax_cancel_button, type:button)}</span>
				<script type="text/javascript">
					$(document).ready(function () {
						$('#ajax_cancel_button').click(close_edit_album_form);
					});
				</script>
			</pp:dynamic>
		</p>
	</form>
</div>